package com.czbank.financing.service.impl;

import com.czbank.financing.Entity.UserInfo;
import com.czbank.financing.mapper.UserInfoMapper;
import com.czbank.financing.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: thinkpad
 * @Date: 2019/7/12 18:51
 * @Description:
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public UserInfo SelectOneUserInfo(String username) {

        return userInfoMapper.findAllUserInfo(username);
    }
}
